﻿using System;

namespace MarioMapEditor
{
    class ObActive : ObObject
    {
        public enum INFO { LEFT = 1, RIGHT };

        public ObActive()
        {
            Info = (int)INFO.LEFT;
        }

        public override bool SetINFO(int nInfo)
        {
            if (Enum.IsDefined(typeof(INFO), nInfo))
            {
                Info = nInfo;
                return true;
            }
            return false;
        }
    }

}
